package org.example.studyonline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.studyonline.pojo.CourseMaterial;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface CourseMaterialService extends IService<CourseMaterial> {
    void putMaterial(Integer chapterID, String type, MultipartFile filePath) throws Exception;

    void updateMaterial(Integer materialID, Integer chapterID, String type, MultipartFile filePath) throws Exception;
}
